﻿using StarsAdmin.Core.Enums;
using StarsAdmin.Core.Models;
using System.ComponentModel.DataAnnotations;

namespace StarsAdmin.Application.Region.Dtos
{
    public class ExportRegionDto : BaseDto
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 上级名称
        /// </summary>
        public string ParentName { get; set; }

        /// <summary>
        /// 地区类型
        /// </summary>
        public RegionTypeEnum Type { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }
    }
}